import Vue from 'vue'
 
import ELEMENT from 'element-ui'
import App from './App'
import store from './store'
import router from './router'
import directives from './directives'

import 'element-ui/lib/theme-chalk/index.css'
import '@/styles/index.scss'
import 'normalize.css/normalize.css' 
import 'nprogress/nprogress.css'

import '@/icons'
import '@/permission'

ELEMENT.Dialog.props.lockScroll.default = false;

Vue.config.productionTip = false
Vue.use(ELEMENT)
Vue.use(directives)
new Vue({
  el: '#app',
  router,
  store,
  render: h => h(App)
})
